package com.kaisa.activity.fragment;

import android.content.Intent;
import android.view.View;
import android.widget.TextView;

import com.kaisa.activity.R;
import com.kaisa.activity.ui.RegistActivity;

import org.xutils.view.annotation.ContentView;
import org.xutils.view.annotation.ViewInject;

/**
 * Created by 123 on 2015/12/16.
 */
@ContentView(R.layout.fragment_noid)
public class NoIDFragment extends BaseFragment {
    @ViewInject(R.id.tv_noid_regist)
    private TextView regist;

    public static NoIDFragment newInstance() {
        NoIDFragment fragment = new NoIDFragment();
        return fragment;
    }

    @Override
    public void initView() {
        super.initView();
        regist.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(getActivity(), RegistActivity.class);
                getActivity().startActivity(intent);
            }
        });
    }

    @Override
    public void initData() {
        super.initData();
    }
}
